home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1997 February: Technology Seed / Mac Tech Seed Feb '97.toast / ODF Release 3 / Developer University / DU Projects / Calc / Sources / Defines.k < prev    next >
Encoding:
Text File  |  1996-12-11  |  1.6 KB  |  53 lines  |  [TEXT/CWIE]

  1. //    Copyright:    © 1996 by Apple Computer, Inc., All rights reserved.
  2. //    Release Version:    $ ODF 3 $
  3.  
  4. #ifndef DEFINES_K
  5. #define DEFINES_K
  6.  
  7. // The following four lines must be defined appropriately!!
  8. // If your part can be a container for other parts, define FW_SUPPORTS_EMBEDDING
  9. // to be 1.  Otherwise define it to be 0.
  10. // If your part defines any ODExtensions, define FW_SUPPORTS_EXTENSIONS to be
  11. // 1 to enable the extensions manager.  Otherwise, define it to be 0.
  12. // If your part is scriptable, define FW_SUPPORTS_SCRIPTING to be 1. Otherwise,
  13. // define it to be zero.  Note that if your part is scriptable is must support
  14. // extensions, so FW_SUPPORTS_EXTENSIONS must be defined to be 1.
  15. // If your part supports linking of its data, define FW_SUPPORTS_LINKING to be 1.
  16. // Otherwise, define it to be 0.
  17.  
  18. #define FW_SUPPORTS_EMBEDDING 0
  19. #define FW_SUPPORTS_EXTENSIONS 0
  20. #define FW_SUPPORTS_SCRIPTING 0
  21. #define FW_SUPPORTS_LINKING 0
  22.  
  23. //===================================================
  24. // PICT ID
  25. #define kODFpictResID          2000
  26.  
  27. // other
  28. #define kPartIconID     128
  29. #define kAbout            1024
  30. #define kPartInfoID        1024
  31.  
  32. //-------------------------------------------------------------------------------------
  33. //     Views
  34. #define kCalcView            1024
  35.  
  36. #define kAmountStaticID         1
  37. #define kInterestStaticID         2
  38. #define kYearsStaticID             3
  39. #define kAmountEditID             4
  40. #define kInterestEditID         5
  41. #define kYearsEditID             6
  42. #define kCalculateButtonID         7
  43. #define kAnswerEditID             8
  44.  
  45. //-------------------------------------------------------------------------------------
  46. #ifdef FW_BUILD_MAC
  47.     #define kFormPict1            130
  48. #endif
  49.  
  50. //===================================================
  51. #endif
  52.  
  53.